//导入axios工具包
import instance from '@/utils/axios.js'

//登录接口
function userLogin(username,password) {
    return instance({
        url:'/admin/user/login',
        method:'post',
        data:{username,password}
    })
}
//导出接口
export {userLogin}